<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/category.css" />
	<script type="text/javascript" src="__PUBLIC__/js/jquery-1.8.3.js"></script>
	<script type="text/javascript">
		var cc="__APP__/catgory/catgorydel";
	</script>
	<script type="text/javascript" src="__PUBLIC__/js/catgory.js"></script>
	
</head>
<body>
	<h2><a href="__APP__/catgory/addshow" style="font-family:微软雅黑">添加顶级栏目</a></h2>
	<table class='table1'>
		<thead>
			<tr>
	            <th width="10">CID</th>
	            <th>栏目名称</th>
	            <th width="270">操作</th>
        	</tr>
		</thead>
		<tbody>
            {list from="$data" name="r"}
                <tr>
                    <td>{$r.cid}</td>
                    <td>{$r.catname}</td>
                    <td>
                    	<a href="__ROOT__/index.php?c=index&m=cat&cid={$r.cid}">预览</a> |
                        <a href="__APP__/catgory/addcshow/cid/{$r.cid}">添加子栏目</a> |
                        <a href="__APP__/catgory/editshow/cid/{$r.cid}">编辑</a> |
                        <a href="__APP__/arc/send/cid/{$r.cid}">添加文章</a> |
                        <!-- <a href="" cid="{$r.cid}" class="category">删除栏目</a> -->
                        <a href="__APP__/catgory/catgorydel/cid/{$r.cid}" cid="{$r.cid}" class="category">删除栏目</a>
                    </td>
                </tr>
            {/list}
        </tbody>
	</table>
</body>
</html>